package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportCarrierFreight;
import cn.stylefeng.guns.modular.transport.model.params.TransportCarrierFreightParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportCarrierFreightResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 承运商运费信息表 服务类
 * </p>
 *
 * @author like
 * @since 2024-10-15
 */
public interface TransportCarrierFreightService extends IService<TransportCarrierFreight> {

    /**
     * 新增
     *
     * @author like
     * @Date 2024-10-15
     */
    void add(TransportCarrierFreightParam param);

    /**
     * 删除
     *
     * @author like
     * @Date 2024-10-15
     */
    void delete(TransportCarrierFreightParam param);

    /**
     * 更新
     *
     * @author like
     * @Date 2024-10-15
     */
    void update(TransportCarrierFreightParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    TransportCarrierFreightResult findBySpec(TransportCarrierFreightParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    List<TransportCarrierFreightResult> findListBySpec(TransportCarrierFreightParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
     LayuiPageInfo findPageBySpec(TransportCarrierFreightParam param,String condition);

    /**
     * 查询分页数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    LayuiPageInfo findPageBySpec2(TransportCarrierFreightParam param,String condition);

    /**
     * 查询分页数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    LayuiPageInfo findPageBySpec3(TransportCarrierFreightParam param,String condition);

    /**
     * 查询分页数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    LayuiPageInfo findPageBySpec4(TransportCarrierFreightParam param,String condition);
}
